<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>OsinfoDeviceDriver: Libosinfo Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Libosinfo Reference Manual">
<link rel="up" href="ch01.html" title="Libosinfo">
<link rel="prev" href="OsinfoDeviceLinkList.html" title="OsinfoDeviceLinkList">
<link rel="next" href="OsinfoDeviceDriverList.html" title="OsinfoDeviceDriverList">
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#OsinfoDeviceDriver.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#OsinfoDeviceDriver.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="OsinfoDeviceLinkList.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="OsinfoDeviceDriverList.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="OsinfoDeviceDriver"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="OsinfoDeviceDriver.top_of_page"></a>OsinfoDeviceDriver</span></h2>
<p>OsinfoDeviceDriver — Information about device driver</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="OsinfoDeviceDriver.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoDeviceDriver.html#osinfo-device-driver-get-architecture" title="osinfo_device_driver_get_architecture ()">osinfo_device_driver_get_architecture</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoDeviceDriver.html#osinfo-device-driver-get-location" title="osinfo_device_driver_get_location ()">osinfo_device_driver_get_location</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="OsinfoDeviceDriver.html#osinfo-device-driver-get-pre-installable" title="osinfo_device_driver_get_pre_installable ()">osinfo_device_driver_get_pre_installable</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoDeviceDriver.html#osinfo-device-driver-get-files" title="osinfo_device_driver_get_files ()">osinfo_device_driver_get_files</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="OsinfoDeviceList.html" title="OsinfoDeviceList"><span class="returnvalue">OsinfoDeviceList</span></a> *
</td>
<td class="function_name">
<a class="link" href="OsinfoDeviceDriver.html#osinfo-device-driver-get-devices" title="osinfo_device_driver_get_devices ()">osinfo_device_driver_get_devices</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="OsinfoDeviceDriver.html#osinfo-device-driver-get-signed" title="osinfo_device_driver_get_signed ()">osinfo_device_driver_get_signed</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="OsinfoDeviceDriver.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoDeviceDriver.html#OSINFO-DEVICE-DRIVER-PROP-ARCHITECTURE:CAPS" title="OSINFO_DEVICE_DRIVER_PROP_ARCHITECTURE">OSINFO_DEVICE_DRIVER_PROP_ARCHITECTURE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoDeviceDriver.html#OSINFO-DEVICE-DRIVER-PROP-LOCATION:CAPS" title="OSINFO_DEVICE_DRIVER_PROP_LOCATION">OSINFO_DEVICE_DRIVER_PROP_LOCATION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoDeviceDriver.html#OSINFO-DEVICE-DRIVER-PROP-PRE-INSTALLABLE:CAPS" title="OSINFO_DEVICE_DRIVER_PROP_PRE_INSTALLABLE">OSINFO_DEVICE_DRIVER_PROP_PRE_INSTALLABLE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoDeviceDriver.html#OSINFO-DEVICE-DRIVER-PROP-FILE:CAPS" title="OSINFO_DEVICE_DRIVER_PROP_FILE">OSINFO_DEVICE_DRIVER_PROP_FILE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoDeviceDriver.html#OSINFO-DEVICE-DRIVER-PROP-DEVICE:CAPS" title="OSINFO_DEVICE_DRIVER_PROP_DEVICE">OSINFO_DEVICE_DRIVER_PROP_DEVICE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="OsinfoDeviceDriver.html#OSINFO-DEVICE-DRIVER-PROP-SIGNED:CAPS" title="OSINFO_DEVICE_DRIVER_PROP_SIGNED">OSINFO_DEVICE_DRIVER_PROP_SIGNED</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="OsinfoDeviceDriver.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> <a class="link" href="OsinfoEntity.html" title="OsinfoEntity">OsinfoEntity</a>
        <span class="lineart">╰──</span> OsinfoDeviceDriver
</pre>
</div>
<div class="refsect1">
<a name="OsinfoDeviceDriver.description"></a><h2>Description</h2>
<p><a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> is an entity representing device drivers for an (guest)
operating system.</p>
</div>
<div class="refsect1">
<a name="OsinfoDeviceDriver.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="osinfo-device-driver-get-architecture"></a><h3>osinfo_device_driver_get_architecture ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_device_driver_get_architecture (<em class="parameter"><code><a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> *driver</code></em>);</pre>
<p>Retrieves the target hardware architecture of <em class="parameter"><code>driver</code></em>
.</p>
<div class="refsect3">
<a name="osinfo-device-driver-get-architecture.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>driver</p></td>
<td class="parameter_description"><p>an <a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-device-driver-get-architecture.returns"></a><h4>Returns</h4>
<p>the hardware architecture. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-device-driver-get-location"></a><h3>osinfo_device_driver_get_location ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
osinfo_device_driver_get_location (<em class="parameter"><code><a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> *driver</code></em>);</pre>
<p>Retrieves the location of the <em class="parameter"><code>driver</code></em>
 as a URL.</p>
<div class="refsect3">
<a name="osinfo-device-driver-get-location.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>driver</p></td>
<td class="parameter_description"><p>an <a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-device-driver-get-location.returns"></a><h4>Returns</h4>
<p>the location of the driver. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-device-driver-get-pre-installable"></a><h3>osinfo_device_driver_get_pre_installable ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
osinfo_device_driver_get_pre_installable
                               (<em class="parameter"><code><a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> *driver</code></em>);</pre>
<div class="refsect3">
<a name="osinfo-device-driver-get-pre-installable.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>driver</p></td>
<td class="parameter_description"><p>an <a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-device-driver-get-pre-installable.returns"></a><h4>Returns</h4>
<p> TRUE if <em class="parameter"><code>driver</code></em>
is pre-installable, FALSE otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-device-driver-get-files"></a><h3>osinfo_device_driver_get_files ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
osinfo_device_driver_get_files (<em class="parameter"><code><a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> *driver</code></em>);</pre>
<p>Retrieves the names of driver files under the location returned by
<a class="link" href="OsinfoDeviceDriver.html#osinfo-device-driver-get-location" title="osinfo_device_driver_get_location ()"><span class="type">osinfo_device_driver_get_location</span></a>.</p>
<div class="refsect3">
<a name="osinfo-device-driver-get-files.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>driver</p></td>
<td class="parameter_description"><p>an <a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-device-driver-get-files.returns"></a><h4>Returns</h4>
<p>The list of driver files. </p>
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-device-driver-get-devices"></a><h3>osinfo_device_driver_get_devices ()</h3>
<pre class="programlisting"><a class="link" href="OsinfoDeviceList.html" title="OsinfoDeviceList"><span class="returnvalue">OsinfoDeviceList</span></a> *
osinfo_device_driver_get_devices (<em class="parameter"><code><a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> *driver</code></em>);</pre>
<div class="refsect3">
<a name="osinfo-device-driver-get-devices.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>driver</p></td>
<td class="parameter_description"><p>an <a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-device-driver-get-devices.returns"></a><h4>Returns</h4>
<p>The list of devices supported by this driver. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="osinfo-device-driver-get-signed"></a><h3>osinfo_device_driver_get_signed ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
osinfo_device_driver_get_signed (<em class="parameter"><code><a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> *driver</code></em>);</pre>
<p>Some OS vendors recommend or require device drivers to be signed by them
before these device drivers could be installed on their OS.</p>
<div class="refsect3">
<a name="osinfo-device-driver-get-signed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>driver</p></td>
<td class="parameter_description"><p>an <a class="link" href="OsinfoDeviceDriver.html" title="OsinfoDeviceDriver"><span class="type">OsinfoDeviceDriver</span></a> instance</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="osinfo-device-driver-get-signed.returns"></a><h4>Returns</h4>
<p> TRUE if <em class="parameter"><code>driver</code></em>
is signed, FALSE otherwise.</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="OsinfoDeviceDriver.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="OSINFO-DEVICE-DRIVER-PROP-ARCHITECTURE:CAPS"></a><h3>OSINFO_DEVICE_DRIVER_PROP_ARCHITECTURE</h3>
<pre class="programlisting">#define OSINFO_DEVICE_DRIVER_PROP_ARCHITECTURE    "arch"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-DEVICE-DRIVER-PROP-LOCATION:CAPS"></a><h3>OSINFO_DEVICE_DRIVER_PROP_LOCATION</h3>
<pre class="programlisting">#define OSINFO_DEVICE_DRIVER_PROP_LOCATION        "location"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-DEVICE-DRIVER-PROP-PRE-INSTALLABLE:CAPS"></a><h3>OSINFO_DEVICE_DRIVER_PROP_PRE_INSTALLABLE</h3>
<pre class="programlisting">#define OSINFO_DEVICE_DRIVER_PROP_PRE_INSTALLABLE "pre-installable"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-DEVICE-DRIVER-PROP-FILE:CAPS"></a><h3>OSINFO_DEVICE_DRIVER_PROP_FILE</h3>
<pre class="programlisting">#define OSINFO_DEVICE_DRIVER_PROP_FILE            "file"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-DEVICE-DRIVER-PROP-DEVICE:CAPS"></a><h3>OSINFO_DEVICE_DRIVER_PROP_DEVICE</h3>
<pre class="programlisting">#define OSINFO_DEVICE_DRIVER_PROP_DEVICE          "device"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="OSINFO-DEVICE-DRIVER-PROP-SIGNED:CAPS"></a><h3>OSINFO_DEVICE_DRIVER_PROP_SIGNED</h3>
<pre class="programlisting">#define OSINFO_DEVICE_DRIVER_PROP_SIGNED          "signed"
</pre>
</div>
</div>
<div class="refsect1">
<a name="OsinfoDeviceDriver.see-also"></a><h2>See Also</h2>
<p><a class="link" href="OsinfoInstallScript.html#OsinfoOs"><span class="type">OsinfoOs</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29</div>
</body>
</html>